package com.itheima.service;

import com.itheima.domain.Student;

import java.util.ArrayList;

public interface IStudentService {

    //增
    void  addStudent(Student student);
    //删
    void deleteStudent(String sid);

    //改
    void updateStudent(String sid,Student newStu);

    //查
    ArrayList<Student> findAllStudents();

    //判断学号是否存在
    boolean isExists(String sid);
}
